package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.ConsultLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsultLevelMapper {
    int insert(ConsultLevel consultLevel);
    int update(ConsultLevel consultLevel);
    int delete(int id);
    ConsultLevel findById(int id);

    List<ConsultLevel> findAll();
}
